
package com.timber.util;

import com.timber.util.*;

import java.util.*;

/**
   Base class to hold rows of data from DB.
*/

public interface SLDataSet
{
  public static final String SELECT_ALL = SelectAll.SELECT_ALL;
  public String getClassName();

  public void setName( String s );
  public String getName();

  public void setSQL( String s );
  public String getSQL();

  public void setProcs( String aS);
  public String getProcs();

  public SLDataObject getRowInstance() throws Exception;

  public void clear();

  public void clearProcP();
  public void addProcP( Object o );
  public String getProcParams();
  public void setProcParams(Vector aV);

  public Object getByKey( Object key );
  public void put(SLDataObject aO);
  public void putUnique(SLDataObject aO);
  public void displayAdd(Object aO);

  public Vector getKeyList() throws Exception;
  public Vector getDisplayItems() throws Exception;

  public Vector getDataVector();

  public int size();
  public boolean isEmpty() ;

  public void removeItem( SLDataObject o );
  public void removeItemAt( int indx );
}
